'use strict';

import gulp from 'gulp';
import Tasker from './build/Tasker.js';


gulp.task('pre', function() {
    var tasker = new Tasker({ gulp, env: 'prepare' });
    tasker.run('pre');
});

gulp.task('local', function() {
    var tasker = new Tasker({ gulp, env: 'local' });
    tasker.run('local');
});

gulp.task('local:browser', function() {
    var tasker = new Tasker({ gulp, env: 'local' });
    tasker.run('localBrowser');
});

gulp.task('internal', function() {
    var tasker = new Tasker({ gulp, env: 'internal' });
    tasker.run('internal');
});

gulp.task('staging', function() {
    var tasker = new Tasker({ gulp, env: 'staging' });
    tasker.run('staging');
});

gulp.task('production', function() {
    var tasker = new Tasker({ gulp, env: 'production' });
    tasker.run('production');
});